import java.util.Comparator;

/**
 * 排序算法模板类
 * @author Brickea
 * @version 1.0
 */
public class Example {
    /**
     * 排序方法，默认正序
     * @param a The object that need to be sorted
     */
    public static void sort(Comparator a[]){ }

    /**
     * 比较大小方法判断参数v小于w参数
     * @param v First object
     * @param w The object that to be compared to v
     */
    private static boolean less( Comparable v,Comparable w){
        return v.compareTo(w)<0;
    }
    /**
     * 交换对象两个位置的元素
     */
    private static void exch(Comparable a, int i, int j){
        Comparable b = a[i];

    }

}
